<template>
  <div class="user">
    <header>
      <h1>Echarts--大数据可视化</h1>
    </header>
    <section class="container">
      <section class="leftItem">
        <ItemOne></ItemOne><ItemThree></ItemThree>
      </section>
      <section class="centerItem">
        <MapPage></MapPage>
      </section>
      <section class="rightItem">
        <ItemTwo></ItemTwo>
        <ItemFour></ItemFour>
      </section>
    </section>
  </div>
</template>

<script>
import ItemOne from "@/components/itemOne.vue";
import ItemTwo from "@/components/itemTwo.vue";
import ItemThree from "@/components/itemThree.vue";
import ItemFour from "@/components/itemFour.vue";
import MapPage from "@/components/mapPage.vue";
export default {
  components: {
    ItemOne,
    ItemTwo,
    ItemThree,
    ItemFour,
    MapPage,
  },
};
</script>

<style lang="less" scoped>
.user {
  box-sizing: border-box;
  background: url("@/assets/bg1.jpg") no-repeat center;
  background-size: cover;
  width: 100%;
  height: 100%;
  overflow: hidden;
  header {
    height: 5rem;
    min-width: 960px;
    h1 {
      margin: 0;
      font-size: 1.875rem;
      color: #fff;
      text-align: center;
      line-height: 5rem;
      background-color: rgba(0, 0, 255, 0.3);
    }
  }
  .container {
    display: flex;
    min-width: 960px;
    max-width: 2048px;
    margin: 0 auto;
    .leftItem {
      flex: 3;
    }
    .rightItem {
      flex: 3;
    }
    .centerItem {
      flex: 5;
      border: 2px solid blue;
      padding: 0.625rem;
      margin: 20px auto;
    }
  }
}
</style>